package com.nowar.interceptor;

import com.sun.net.httpserver.Filter;
import com.sun.net.httpserver.HttpExchange;
import org.springframework.stereotype.Component;

import java.io.IOException;

/**
 * @Author: 谢无殇。
 * @Date : 2023-08-26 23:43
 */
@Component
public class NowarFilter extends Filter {
    @Override
    public void doFilter(HttpExchange httpExchange, Chain chain) throws IOException {
        System.out.println("fsf");
    }

    @Override
    public String description() {
        return null;
    }
}
